<form name="form_admin" method="post" action="<?php echo formAction('updatestatus')?>">
<table width="100%"  border="0" cellpadding="0" cellspacing="1" id="tblsort">
	<tr class="headtb" nodrag="true" nodrop="true">
        <td width="1%">Order</td>
        <td width="1%"><?php echo inputCheckAll()?></td>
		<td width="25%"><?php echo getLang('City')?></td>
		<td width="25%">Weather Curent</td>
		<td width="10%">Status</td>
		<td width="20%"><?php echo getLang('Actions')?></td>
	</tr>
    <?php
    foreach($weathers as $i=> $weather)
    {
    ?>
        <tr>
            <td>
                <input class="ordertext" id="listorder_<?php echo $i?>" name="listorder[]"
    			value="<?php echo getOrderList($i)?>"/>
            </td>
            <td align="center"><?php echo inputCheck($weather['iId'])?></td>
            <td>
                <?php echo linkAction('edit',$weather["cCityName"],'id='.$weather['iId'])?>
                <input type="hidden" name="listid[]" value="<?php echo $weather['iId']?>" />
            </td>
            <td>
                <?php echo $weather['do']?> -> update:<?php echo $weather['Time']?>
                -
                <?php echo linkAction('upweather','update','id='.$weather['iId'])?> 
            </td>
            <td align="center">
                <select name="liststatus[]">
                    <?php echo liststatus($weather["iStatus"]) ?>
                </select>
            </td>
            <td align="center" valign="middle">
                
                <?php echo linkAction('edit',edit,'id='.$weather['iId'])?> -
                <?php echo linkAction('delete',delete,'id='.$weather['iId'])?>
        </tr>
    <?php
    }
    ?>
</table>
</form>
<script>
(new TableDnD).init("tblsort");
</script>